package Test3;

public  class Circle extends Figure{
	private double r;
	public Circle(double r){
		this.r=r;
	}
	public double area(){
		return (3.14*r*r);
	}
	public double perimeter(){
		return (3.14*r*2);
	}
}
